package com.pi.cs.model;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

public class FeedBackPostForm {
  @NotNull(message = "UC_USER.USER_ID_EMPTY")
  private Long              requestUser;        // 用户账号 
  @NotNull(message = "SC_FEED.FEED_PIC_EMPTY")
  private Integer           type;               // 帮助反馈的类型1.产品建议 2.故障错误 3. 通用建议 
  @NotNull(message = "SC_FEED.FEED_CONTENT_EMPTY")
  @Length(min=5, max= 1000, message ="SC_FEED.FEED_CONTENT_ILLEGAL")
  private String            userAdvice;         // 用户反馈的内容
  @NotNull(message = "SC_FEED.FEED_PIC_EMPTY")
  @Length(min=0, max= 100, message ="SC_FEED.FEED_PICS_ILLEGAL")
  private String            pics;               // 图片列表 
  @NotNull(message = "SC_FEED.FEED_CONTACT_EMPTY")
  @Length(min=0, max= 50, message ="SC_FEED.FEED_CONTACT_ILLEGAL")
  private String            contact;     // 联系方式内容 
  @NotNull(message = "SC_FEED.FEED_CONTACT_EMPTY")
  private Integer           contactWay;         // 联系方式 1. 电话 2.邮箱 3. 实际地址 
  public Long getRequestUser() {
    return requestUser;
  }
  public void setRequestUser(Long requestUser) {
    this.requestUser = requestUser;
  }
  public Integer getType() {
    return type;
  }
  public void setType(Integer type) {
    this.type = type;
  }
  public String getUserAdvice() {
    return userAdvice;
  }
  public void setUserAdvice(String userAdvice) {
    this.userAdvice = userAdvice;
  }
  public String getPics() {
    return pics;
  }
  public void setPics(String pics) {
    this.pics = pics;
  }
  public String getContact() {
    return contact;
  }
  public void setContact(String contact) {
    this.contact = contact;
  }
  public Integer getContactWay() {
    return contactWay;
  }
  public void setContactWay(Integer contactWay) {
    this.contactWay = contactWay;
  }
}
